import qs from 'qs' // 根据需求是否导入qs模块
import $http from "axios"
import url from '@/api/base'
import utils from '@/utils/index'
const timeAjax = utils.timeFormate()
/**
 * 机构信息列表
 */
export function list(page,pageSize) {
  return $http({
    url: url.baseUrl217 + "/queryNoticeList",
    method: 'post',
    params: {
      inParam: {
        "orgId": sessionStorage.getItem('orgId')||'93',
        "time": timeAjax,
        "pageSize": pageSize||10,
        "terminalType": "10",
        "currentPage": page||1,
        "sysCode": "FH_PUBOPE",
        "callType": "2",
        "accId": sessionStorage.getItem('accId')
      }
    }
  })
}
/**
 * 系统信息列表
 */
export function system(page, pageSize) {
  return $http({
    url: url.baseUrl217 + "/queryNoticeList",
    method: 'post',
    params: {
      inParam: {
        "orgId": sessionStorage.getItem('orgId')||'93',
        "time": timeAjax,
        "pageSize": pageSize || 10,
        "terminalType": "10",
        "currentPage": page || 1,
        "sysCode": "FH_PUBOPE",
        "callType": "1",
        "accId": sessionStorage.getItem('accId')
      }
    }
  })
}